<?php
namespace App\Admin\Tools;

use Encore\Admin\Facades\Admin;
use Encore\Admin\Grid\Tools\AbstractTool;

class OrderImportTool extends AbstractTool
{
	protected function script()
	{
		return <<<EOT
$('.orders-import').hover(function () {
	$(this).children('div').show();
}, function () {
	$(this).children('div').hide();
});
EOT;

	}
	
	public function render()
	{
		Admin::script($this->script());
		
		$options = [];
		return view('admin.tools.orderimport', compact('options'));
	}
}
